package com.nbcio.pm.service;

import com.nbcio.common.mybatis.core.page.TableDataInfo;
import com.nbcio.pm.domain.PmTeamMember;
import com.nbcio.pm.domain.bo.PmTeamMemberBo;
import com.nbcio.pm.domain.vo.PmTeamMemberVo;

import java.util.Collection;
import java.util.List;

/**
 * 团队成员Service接口
 *
 * @author nbmade
 * @date 2025-01-15
 */
public interface IPmTeamMemberService {

    /**
     * 查询团队成员
     */
    PmTeamMemberVo queryById(Long id);

    /**
     * 查询团队成员列表
     */
    TableDataInfo<PmTeamMemberVo> queryPageList(PmTeamMemberBo bo);

    /**
     * 查询团队成员列表
     */
    List<PmTeamMemberVo> queryList(PmTeamMemberBo bo);

    /**
     * 根据条件查询团队成员列表
     */
    List<PmTeamMemberVo> queryListByCondition(PmTeamMemberBo bo);

    /**
     * 新增团队成员
     */
    Boolean insertByBo(PmTeamMemberBo bo);

    /**
     * 修改团队成员
     */
    Boolean updateByBo(PmTeamMemberBo bo);

    /**
     * 校验并批量删除团队成员信息
     */
    Boolean deleteWithValidByIds(Collection<Long> ids, Boolean isValid);

    /**
     * 批量添加团队成员
     */
    Boolean batchInsertByBo(PmTeamMemberBo bo);
}
